Styles (CSS)

Use #id selector to assign css rules to the input control.

#input1 {width: 200px;} 
#input2 {left: 100px; position: relative;} 
#input3 {background: yellow;} 
#input4 {border: 1px solid red;} 

Back to input examples, all examples